package com.itheima.tanhua.api.mongo;

import com.itheima.tanhuan.vo.mongo.UserLocationVo;
import org.springframework.data.geo.Circle;

import java.util.List;

public interface UserLocationApi {

    void updateLocation(long uidId, double longitude, double latitude, String addrress);

    Boolean updateLocationByUid(Long uid, Double longitude, Double latitude, String address);

    List<Long> getNearUserVo(Circle circle, Long uid);

    UserLocationVo findLocaltionByUid(Long uid);

    List<Long> getIds(Double longitude, Double latitude, String distance, Long uid);
}
